package com.hangzhou.xyj.net.request;

import com.hangzhou.xyj.net.request.base.BaseRequest;
import com.hangzhou.xyj.utils.constants.API;

/**
 * Created by yaohuix on 2016/2/19  14:10
 * <p/>
 * 说明：更新签名的请求
 */
public class UpdateSignatureReq extends BaseRequest {

    public UpdateSignatureReq(int userId, String signature) {
        setUserId(userId);
        setSignature(signature);
    }

    public void setUserId(int userId) {
        add("userId", userId);
    }

    public void setSignature(String signature) {
        add("signature", signature);
    }

    @Override
    public String getUrl() {
        return API.UPDATE_SIGNATURE;
    }
}
